package demo;

/**
 * ~n 取反+1
 * 即 ~n=-1*(n+1)
 * 化简 =-n-1
 */
public class Demo {
    public static void main(String[] args) {
        int n=55;
        System.out.println(~n);//-56

    }
}
